<div *ngIf="userType==0" style="width: 100%; align-content: center;text-align: center">
  <span style="font-size: 30px;font-weight: bold;padding-top: 300px;display: inline-block;">欢迎使用实训演练系统</span>
</div>
<!-- <div *ngIf="userType==3||userType==2" class="index-box">
  <div class="float-l" style="width: 75%;max-width: 1006px;margin-right: 20px;flex: 3">
    <div style="width: 100%;height:340px;box-shadow: 0px 0px 6px rgba(102,102,102,0.2);">
      <img src="../../../assets/img/yljl.png" class="" style="width: 100%;height: auto;" />
    </div>
    <div style="width: 100%;margin-top: 20px;display: flex; flex-direction: row;">
      <div class="float-l" style="width:495px;height:303px;margin-right: 20px;flex:1;box-shadow: 0px 0px 6px rgba(102,102,102,0.2);">
        <img class="xmzy" src="../../../assets/img/xmzy.png" class="" style="width: 100%;height: auto;" />
      </div>
      <div class="float-r grxm" style="flex:1;">
        <div class="gg-border grxm-border">
          <div class="float-l left-border-gg"></div>
          <div class="float-l gg-name">个人项目</div>
          <div class="float-r gg-more" (click)="router.navigate(['/app/mydrill'])">
            <span class="float-l">More </span>
            <img class="float-l" style="margin-top: 18px;" src="../../../assets/img/more.png" />
          </div>
        </div>
        <div class="grxm-table">
          <table>
            <thead>
              <th class="table-tr-mar">演练名称</th>
              <th>创建时间</th>
              <th>演练状态</th>
              <th>操作</th>
            </thead>
            <tbody>
              <tr *ngFor="let item of listEntities.entities">
                <td class="table-tr-mar" [title]="item.subjectName">{{item.subjectName}}</td>
                <td>{{item.creationTime|date:'yyyy年MM月dd日'}}</td>
                <td>
                  <span [ngSwitch]="item.drillStatus">
                    <p style="color: gray" *ngSwitchCase="0">
                      未开始
                    </p>
                    <p style="color: green" *ngSwitchCase="1">
                      正在进行
                    </p>
                    <p style="color: red" *ngSwitchDefault>
                      已完成
                    </p>
                  </span>
                </td>
                <td>
                  <div class="start-btn" (click)="startDrill(item.id,item.drillStatus)">
                    <span [ngSwitch]="item.drillStatus">
                      <p *ngSwitchCase="0">
                        开始
                      </p>
                      <p *ngSwitchDefault>
                        查看
                      </p>
                    </span>
                  </div>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <img src="../../../assets/img/grxm.png" class="float-l"/>-->
<!-- </div>
  </div>
  <div class="float-l index-gg" style="flex: 1">
    <div class="gg-border">
      <div class="float-l left-border-gg"></div>
      <div class="float-l gg-name">公告</div>
       <div class="float-r gg-more"><span class="float-l">More </span><img class="float-l"
                                                                              style="margin-top: 18px;"
                                                                              src="../../../assets/img/more.png"/>
          </div> -->
<!-- </div>
    <div class="gg-list" style="cursor: pointer;" *ngFor="let item of notices" (click)="seeNotice(item)">
      <div>
        <img class="float-l" src="../../../assets/img/g-lsit-icon.png" />
        <div class="float-l gg-word" style="width: calc(100% - 26px);">{{item.noticeName}}</div>
      </div>
      <div class="time-index-gg">
        --- {{item.createTime|date : 'yyyy-MM-dd HH:mm'}}
      </div>
    </div>
  </div> -->
<!-- </div>
 -->

